<?php

return [
    'discovery' => [
        'etcd_host' => get_formatted_env("ETCD_HOST", ''),
        'server_name' => get_formatted_env("BELONG_SYSTEM", ''),
        'server_uuid' => \Webpatser\Uuid\Uuid::generate()->string,
        'server_port' => get_formatted_env("HOST_PORT", 8080),
        'discovery_name' => ['teamones-im', 'teamones-saas', 'teamones-log', 'teamones-media', 'teamones-oauth', 'teamones-work-hour'],
        'log' => runtime_path() . '/logs/etcd.log',
        'cache' => runtime_path() . '/cache'
    ]
];
